package cn.tedu.spring;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

@Configuration
@ComponentScan("cn.tedu.spring")
@PropertySource("classpath:jdbc.properties")  //属性来源  classpath:特指resources文件夹
// 先用@PropertySource()读取文件,然后才能用@Value()取出值,赋值给属性
public class SpringConfig {
}
